<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 0px">
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="well with-header">
                <div class="header bordered-blue">审批人员设置</div>
                <div class="row">
                    <div class="col-md-12">
                        <table id="myTable1"></table>
                    </div>
                </div>
            </div>

            <div class="well with-header">
                <div class="header bordered-purple">免批人员设置</div>
                <div class="row">
                    <div class="col-md-12">
                        <table id="myTable2"></table>
                    </div>
                </div>
            </div>

            <div class="well with-header">
                <div class="header bordered-darkorange">红头模版设置</div>
                <div class="row">
                    <div class="col-md-12">
                        <div class="buttons-preview" id="toobar3">
                            <a class="btn btn-azure js-templatebtn">添加模版</a>
                        </div>
                        <table id="myTable3"></table>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<!--LArge Modal Templates-->
<div class="modal fade bs-example-modal-lg" id="approvermodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel">设置审批人员</h4>
            </div>
            <div class="modal-body">
                <div id="horizontal-form">
                    <form class="form-horizontal" role="form" id="form1">
                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">审批人员</label>
                            <div class="col-sm-10">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-saveapprover">${i18n('ok')}</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!--LArge Modal Templates-->
<div class="modal fade bs-example-modal-lg" id="templatemodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel">设置公告模版</h4>
            </div>
            <div class="modal-body">
                <div id="horizontal-form">
                    <form class="form-horizontal" role="form" id="form3">
                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">公告分类</label>
                            <div class="col-sm-10">
                                <select class="form-control" id="noticeType" name="noticeType" style="border-radius:0px;">
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">${i18n('system.sortNo')}</label>
                            <div class="col-sm-10">
                                <input type="number" class="form-control" id="sortNo" name="sortNo" placeholder="${i18n('system.sortNo')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">模版名称</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="templateName" name="templateName" placeholder="模版名称">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">上传模版</label>
                            <div class="col-sm-10">
                                <div style="padding-top: 4px;">
                                    <div id="show_templateattach"></div>
                                    <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file" onchange="singleFileUpLoad('template','templateattach');" hidefocus="true" size="1"
                                                                                                              id="templateattach" name="templateattach" class="addfile" accept="text/html"></a>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-savetemplate">${i18n('ok')}</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>


<!--LArge Modal Templates-->
<div class="modal fade bs-example-modal-lg" id="appovermodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel">审批人员设置</h4>
            </div>
            <div class="modal-body">
                <div id="horizontal-form">
                    <form class="form-horizontal" role="form" id="form1">
                        <div class="form-group">
                            <label class="col-sm-2 control-label no-padding-right">审批人员</label>
                            <div class="col-sm-8">
								<textarea rows="5" cols="" placeholder="审批人员" class="form-control" readonly="readonly" id="appoveraccount" name="appoveraccount">

								</textarea>
                            </div>
                            <div class="col-sm-2">
                                <a class="selectbutton" opt-id="appoveraccount" onclick="selectUser(this,'true');">${i18n('system.select')}</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-saveappover">${i18n('ok')}</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script src="/module/bootstrap-table/bootstrap-table.js"></script>
<script src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script src="/gobal/js/page/notice/noticepriv.js"></script>
</html>
